package com.czp.ssm.dao;

import com.czp.ssm.bean.OperaRule;
import com.czp.ssm.bean.OperaRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OperaRuleMapper {
    long countByExample(OperaRuleExample example);

    int deleteByExample(OperaRuleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(OperaRule record);

    int insertSelective(OperaRule record);

    List<OperaRule> selectByExample(OperaRuleExample example);

    OperaRule selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OperaRule record, @Param("example") OperaRuleExample example);

    int updateByExample(@Param("record") OperaRule record, @Param("example") OperaRuleExample example);

    int updateByPrimaryKeySelective(OperaRule record);

    int updateByPrimaryKey(OperaRule record);

	OperaRule selectByOperaRuleId(String operaRuleId);
}